<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
    <%@page import="com.baomidou.springmvc.common.utils.*" %>
    <%
    
String path = request.getContextPath();  
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
//如果请求来自手机
if(Utils.checkAgentIsMobile(request.getHeader("User-Agent"))){
	response.sendRedirect(basePath+"user/noPerm2Mobile");
}else{
	response.sendRedirect(basePath+"user/toNoPermUI");
}

%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

</html>